package edu.huadee.entity;

import java.util.Date;


/**
 * Carsafety entity. @author MyEclipse Persistence Tools
 */

public class Carsafety  implements java.io.Serializable {


    // Fields    

     private Integer carSafetyId;
     private Integer agent;
     private String carNumber;
     private String insurance;
     private Date startDate;
     private Date endDate;
     private Float coverage;
     private Float insuranceMoney;
     private String insuranceNumber;
     private String scanCopy;
     private Date receiveDate;


    // Constructors

    /** default constructor */
    public Carsafety() {
    }

	/** minimal constructor */
    public Carsafety(Integer carSafetyId, Integer agent, String carNumber, String insurance, Date startDate, Date endDate, Float coverage, Float insuranceMoney, String insuranceNumber) {
        this.carSafetyId = carSafetyId;
        this.agent = agent;
        this.carNumber = carNumber;
        this.insurance = insurance;
        this.startDate = startDate;
        this.endDate = endDate;
        this.coverage = coverage;
        this.insuranceMoney = insuranceMoney;
        this.insuranceNumber = insuranceNumber;
    }
    
    /** full constructor */
    public Carsafety(Integer carSafetyId, Integer agent, String carNumber, String insurance, Date startDate, Date endDate, Float coverage, Float insuranceMoney, String insuranceNumber, String scanCopy, Date receiveDate) {
        this.carSafetyId = carSafetyId;
        this.agent = agent;
        this.carNumber = carNumber;
        this.insurance = insurance;
        this.startDate = startDate;
        this.endDate = endDate;
        this.coverage = coverage;
        this.insuranceMoney = insuranceMoney;
        this.insuranceNumber = insuranceNumber;
        this.scanCopy = scanCopy;
        this.receiveDate = receiveDate;
    }

   
    // Property accessors

    public Integer getCarSafetyId() {
        return this.carSafetyId;
    }
    
    public void setCarSafetyId(Integer carSafetyId) {
        this.carSafetyId = carSafetyId;
    }

    public Integer getAgent() {
        return this.agent;
    }
    
    public void setAgent(Integer agent) {
        this.agent = agent;
    }

    public String getCarNumber() {
        return this.carNumber;
    }
    
    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getInsurance() {
        return this.insurance;
    }
    
    public void setInsurance(String insurance) {
        this.insurance = insurance;
    }

    public Date getStartDate() {
        return this.startDate;
    }
    
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return this.endDate;
    }
    
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Float getCoverage() {
        return this.coverage;
    }
    
    public void setCoverage(Float coverage) {
        this.coverage = coverage;
    }

    public Float getInsuranceMoney() {
        return this.insuranceMoney;
    }
    
    public void setInsuranceMoney(Float insuranceMoney) {
        this.insuranceMoney = insuranceMoney;
    }

    public String getInsuranceNumber() {
        return this.insuranceNumber;
    }
    
    public void setInsuranceNumber(String insuranceNumber) {
        this.insuranceNumber = insuranceNumber;
    }

    public String getScanCopy() {
        return this.scanCopy;
    }
    
    public void setScanCopy(String scanCopy) {
        this.scanCopy = scanCopy;
    }

    public Date getReceiveDate() {
        return this.receiveDate;
    }
    
    public void setReceiveDate(Date receiveDate) {
        this.receiveDate = receiveDate;
    }
   








}